﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Emit;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;

namespace PerpheralDevice.Units;
/// <summary>
/// 运动控制卡的运动轴运动状态枚举
/// </summary>
public enum MotorState {
    /// <summary>
    /// 未知状态(轴尚未回零，位置不明确)
    /// </summary>
    Unkown,
    /// <summary>
    /// 正在回零(在运动过程中寻找零点位置:Unkown=>Reseting)
    /// </summary>
    Reseting,
    /// <summary>
    /// 等待状态(轴回零成功、运动成功后处于该状态: Reseting/Moving => Waiting)
    /// </summary>
    Waiting,
    /// <summary>
    /// 正在运动(Waiting=>Moving)
    /// </summary>
    Moving
}
